//////////////////////////////////////////////////////////////////////////
//
// This file is a part of APNS provider project.
// Copyright (c) Vladimir Gumenuk, 2013-2014.
//
// PROJECT:         APNS provider
// FILE:            Log.h: interface for the logging api
// AUTHOR:          Vladimir Gumenuk
// DATE:            22-Dec-2013
// MODIFICATIONS:
//
//////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LOG_H__9A71B1A5_59CE_4669_AD37_ACE7EE778398__INCLUDED_)
#define AFX_LOG_H__9A71B1A5_59CE_4669_AD37_ACE7EE778398__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#define LOG1 LogPrint1
#define LOG2 LogPrint2
#define LOG3 LogPrint3


BOOL LogOpen( LPCTSTR lpstrFileName );
void LogClose();
void LogSetLevel( int iLevel );
void LogEnableDbgTrace( BOOL bEnable );
void LogPrint1( LPCTSTR lpstrFmt, ... );
void LogPrint2( LPCTSTR lpstrFmt, ... );
void LogPrint3( LPCTSTR lpstrFmt, ... );


#endif // !defined(AFX_LOG_H__9A71B1A5_59CE_4669_AD37_ACE7EE778398__INCLUDED_)
